import request from '@/utils/request'

export const login = ({ username, password }) => request.post('/auth/login', { username, password })

export const getUser = () => request.get('/auth/currentUser')
